import Vue from 'vue'
import Vuex from 'vuex'
import muduleA from './module/moduleA'
import muduleB from './module/moduleB'
import todolist from './module/todolist'; 
import createPersistedState from 'vuex-persistedstate'
Vue.use(Vuex);

export default new Vuex.Store({
    plugins:[createPersistedState()],
    modules: {
        muduleA,
        muduleB,
        todolist
    }
})

